<form class="layui-form">
  <div class="layui-form-item">
    <label class="layui-form-label">选择类别</label>
    <div class="layui-input-block">
        <select name="type" lay-verify="required">
            <option value="">请选择状态</option>
          <{volist name="type" id="v"}>
              <option value="<{$key}>"><{$v}></option>
          <{/volist}>
        </select>
    </div>
  </div>
    <div class="layui-form-item">
      <label class="layui-form-label">开关</label>
      <div class="layui-input-block">
          <select name="status" lay-verify="required">
              <option value="">请选择状态</option>
            <{volist name="status" id="v"}>
                <option value="<{$key}>"><{$v}></option>
            <{/volist}>
          </select>
      </div>
    </div>
  <div class="layui-form-item">
    <label class="layui-form-label">支付</label>
    <div class="layui-input-block">
      <input type="text" name="title" lay-verify="required" placeholder="请输入支付名称" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">显示名称</label>
    <div class="layui-input-block">
      <input type="text" name="show_title" lay-verify="required" placeholder="请输入支付显示名称" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">uuid</label>
    <div class="layui-input-block">
      <input type="text" name="uuid" lay-verify="required" placeholder="请输入uuid" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">json配置</label>
    <div class="layui-input-block">
      <textarea  name="config" lay-verify="required" placeholder="请输入json配置" class="layui-textarea"></textarea>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">扩展</label>
    <div class="layui-input-block">
      <input type="text" name="ext" placeholder="请输入扩展信息" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">图标样式</label>
    <div class="layui-input-block">
      <input type="text" name="icon" placeholder="请输入图标样式" autocomplete="off" class="layui-input">
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit="" lay-filter="form">立即提交</button>
    </div>
  </div>
</form>

<script>
$().ready(function(){
  layui.form.render('select');
});
</script>
